﻿using OpenAdmin.Core.DbContextLocators;
using OpenAdmin.Core.Models;

namespace OpenAdmin.EntityFramework.SeedDataConfigure;

public class SysRoleSeedData : IEntityTypeSeedDataConfigure<SysRole, ApplicationDbContextLocator>
{
    public IEnumerable<SysRole> HasData(DbContext dbContext)
    {
        return SeedData.GetSysRoles();
    }
}
